<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Download52, App_Web_xtpq4zcp" %>

<%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="AjaxControlToolkit" %>
    <%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
 <style>
   .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px 8px !important;
    vertical-align: middle;
    border-color: #ddd;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
#MainContent_Label2
{
    font-size:13px;
    font-weight:bold;
}
#MainContent_Label3
{
    font-size:14px;
    font-weight:bold;
}
#MainContent_Label11
{
    font-size:14px;
    font-weight:bold;
}
#MainContent_Label1
{
        font-size:14px;
    font-weight:bold;
}
.table a
{
    white-space:pre !important;
}
.table tr th
{
  white-space:pre !important;  
}
.panel-heading {
    background: #ff7038fa !important;
}

 </style>

            <div class="main-panel">
        <div class="content">
        <div class="container" id="Uploadusertimezone12" runat="server">
     <div class="row dash-pane2" style="margin-top:180px !important">

     <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-edit fa-fw"></i><asp:Label ID="lblconnectdevice" runat="server" Text="Connect Device"></asp:Label></h4>
                </div>
                <div class="card-body table-responsive">
                 <div class="row">
                 <div class="col-lg-4">
         <asp:Label ID="Label1" runat="server" Text="Devices:  "></asp:Label>
            <asp:DropDownList ID="Device_List" runat="server" class="form-control">
            </asp:DropDownList>

        </div>       
        
                 </div>
                <div class="row breadcrumb" style="margin-left:0px; margin-top:5px;">
                <b> </b>
                </div>
                <div class="row" style="margin-top:-10px;  margin-left:0px; margin-right:0px;">
                <div class="panel panel-primary" style="width:100%">
                <div class="panel-heading"><asp:Label ID="lblDeviceInfo" runat="server" Text="Device Info"></asp:Label></div>
                <div class="panel-body" style="background:#eee; padding-bottom:10px; padding-top:10px;">
                 <div class="row">
                        <div class="col-lg-4">
                              <asp:Label ID="Label2" runat="server" Text="ID:  "></asp:Label>
        <asp:Label ID="LDev_ID" runat="server"></asp:Label>
                              </div>
                               <div class="col-lg-4">
                              <asp:Label ID="Label3" runat="server" Text="Serial No:  "></asp:Label>
        <asp:Label ID="LDev_Name" runat="server"></asp:Label>
                              </div>
    
                               <div class="col-lg-2">
                              <asp:Label ID="Label11" runat="server" Text="Connect Status:"></asp:Label>
                              </div>
                              <div class="col-lg-1">
        <asp:Image ID="StatusImg" runat="server" Height="20px" 
            ImageUrl="~/images/redon.png" Width="20px" />
                              </div>
                 </div>
                </div>
                </div>
         
                             
                </div>

                <div class="row" style="margin-left:-20px; margin-right:-20px; margin-top:-25px">
                <div class="card-body table-responsive" style="height:200px; overflow-y:scroll">
                <asp:GridView ID="Grid1" runat="server" class="table table-hover"
          AutoGenerateColumns="False"  DataKeyNames="EmpId" 
                        onselectedindexchanged="Grid1_SelectedIndexChanged"  >
         
         
          <Columns>
              <asp:TemplateField HeaderText="Select">
                 
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server" />
                  </ItemTemplate>
                
              </asp:TemplateField>
              <asp:HyperLinkField DataNavigateUrlFields="EmpId" ControlStyle-ForeColor="#006699"
                
                  DataTextField="EmpName" HeaderText="Employee Name"   DataNavigateUrlFormatString="Employee.aspx?RowId={0}" 
                  SortExpression="EmpName">
              
              </asp:HyperLinkField>
               <asp:BoundField DataField="Cardno" HeaderText="Card no." SortExpression="FatherName">
               
            </asp:BoundField>
              
             <asp:BoundField DataField="EmpCode" HeaderText="Emp. Code" SortExpression="EmpCode">
              
            </asp:BoundField>
            <asp:BoundField DataField="Dept_Name" HeaderText="Dept. Name" SortExpression="Dept_Name">
               
            </asp:BoundField>
            <asp:BoundField DataField="WeekTimeZone" HeaderText="WeekPassTime1" SortExpression="Desig_Name">
                
            </asp:BoundField>

            <asp:BoundField DataField="WeekTimeZone2" HeaderText="WeekTimeZone2" SortExpression="Desig_Name">
                
            </asp:BoundField>
            <asp:BoundField DataField="WeekTimeZone3" HeaderText="WeekTimeZone3" SortExpression="Desig_Name">
                
            </asp:BoundField>
            <asp:BoundField DataField="WeekTimeZone4" HeaderText="WeekTimeZone4" SortExpression="Desig_Name">
                
            </asp:BoundField>

            <asp:BoundField DataField="ValidityStart" HeaderText="Validity Start" SortExpression="DateofJoin">
               
            </asp:BoundField>
              <asp:BoundField DataField="Validityend" HeaderText="Validity End" SortExpression="Branch">
               
            </asp:BoundField>
           </Columns>
         
      </asp:GridView>         
      </div>
                </div>
                <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                <i class="fa fa-plus;"></i>&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" type="button" Text="Connect "
           class="btn btn-success" onclick="Button1_Click1"
           /> 
           &nbsp;&nbsp;
           <asp:Button ID="Button3" runat="server" type="button" Text="Upload In Device" Visible="false"
           class="btn btn-success" onclick="Button3_Click" />&nbsp;&nbsp;
           <asp:Button ID="btnDeleteUserAccess" runat="server" type="button" Text="Delete User Access" Visible="false"
           class="btn btn-success" onclick="btnDeleteUserAccess_Click" />&nbsp;&nbsp;
           <asp:Button ID="Button2" runat="server" type="button" Text="Close"
           class="btn btn-danger" onclick="Button2_Click"  />
           
           <i  class="fa fa-trash-o;"></i>
                </div>
                </div>
              </div>
        


                            </div> </div> </div> </div>
    </asp:Content>

